package com.niit.search.entity;
import lombok.Data;
import java.util.Date;

@Data
public class SearchHistory {
    private Long id;
    private Long userId;
    private String keyword;
    private Date searchTime;
    private Integer isDeleted = 0; // 0-未删除，1-已删除
    private Long searchNum = 1L; // 搜索次数，默认为1
}